<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
 * 测试组件
 *
 */
class Test extends CI_Controller {
	function __construct()
	{
		parent::__construct();
	}
	
	function index()
	{
		//$this->load->library('ualib');
		//echo $this->ualib->user_agent;
		//print_r($this->ualib->fetch_array());

		//$this->db->query("insert into app(photo) values('images/1/appimg/我.jpg')");
		$this->load->helper(array('url', 'form'));
		$this->load->view('testpage');
	}
}